package com.shelpe.services.tenant.dao;

import java.util.Date;
import java.util.List;
import org.apache.ibatis.annotations.Param;

import com.shelpe.services.tenant.model.Users;
import com.shelpe.services.tenant.model.UsersExample;
import com.shelpe.services.tenant.model.UsersWithBLOBs;

public interface UsersMapper {
    int countByExample(UsersExample example);

    int deleteByExample(UsersExample example);

    int deleteByPrimaryKey(Long userId);

    int insert(UsersWithBLOBs record);

    int insertSelective(UsersWithBLOBs record);

    List<UsersWithBLOBs> selectByExampleWithBLOBs(UsersExample example);

    List<Users> selectByExample(UsersExample example);

    UsersWithBLOBs selectByPrimaryKey(Long userId);

    int updateByExampleSelective(@Param("record") UsersWithBLOBs record, @Param("example") UsersExample example);

    int updateByExampleWithBLOBs(@Param("record") UsersWithBLOBs record, @Param("example") UsersExample example);

    int updateByExample(@Param("record") Users record, @Param("example") UsersExample example);

    int updateByPrimaryKeySelective(UsersWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(UsersWithBLOBs record);

    int updateByPrimaryKey(Users record);
    
    Date getLastTimeFromRpt();
}